<?php include('./templete/public/head.php') ?>
<link rel="stylesheet" href="_css/news.css"/>
<!--news-banner-->
<div class="comm-banner" style="background-image: url(<?php echo $navcate['img_url']?>);"></div>

<!--news-main-->
<div class="news-main bgcolor">
    <!--news-title-->
    <div class="news-title warper">
        <ul class="clearfix">
            <?php foreach ($newscatelist as $val){ ?>
                <li <?php if($rows['cateid']==$val['id']){ ?>class="active" <?php } ?>><a href="<?php echo url('news/index?cateid='.$val['id']) ?>"><?php echo $v['name'] ?></a></li>

            <?php } ?>
        </ul>
    </div>

    <div class="detail-content warper">
        <h3><?php echo $rows['title'] ?><br /><span>时间：<?php echo date('Y/m/d',strtotime($rows['addtime'])) ?>  阅读<?php echo $rows['reading']?>次</span></h3>
        <p>
            <?php echo $rows['content'] ?>
        </p>
    </div>

</div>

<!--PC尾部-->
<?php include('./templete/public/foot.php') ?>




</body>
</html>
